<!DOCTYPE html>
<html lang="en">
<head>
  <!-- Required meta tags -->
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
        <title>库存管理系统</title>
        <!-- plugins:css -->
        <link rel="stylesheet" href="/static/vendors/mdi/css/materialdesignicons.min.css">
        <link rel="stylesheet" href="/static/vendors/base/vendor.bundle.base.css">
        <!-- endinject -->
        <!-- plugin css for this page -->
        <link rel="stylesheet" href="/static/vendors/datatables.net-bs4/dataTables.bootstrap4.css">
        <!-- End plugin css for this page -->
        <!-- inject:css -->
        <link rel="stylesheet" href="/static/css/style.css">
        <!-- endinject -->
        <link rel="shortcut icon" href="/static/images/favicon.png" />
</head>
<body>

    <div class="row grid-margin stretch-card">
      <!--根据数据库填写需求预测表，通过复选框确认采购请求，记得让复选框id不要重复，善用format-->
      <div class="card">
        <div class="card-body">
          <h class="card-title">商品需求预测</h>
          <div class="table-responsive">
            <table class="table table-hover">
              <thead>
                <tr>
                  <th>商品品名</th>
                  <th>商品代码</th>
                  <th>商品现有库存</th>
                  <th>商品需求量</th>
                  <th>安全库存量</th>
                  <th>每批次采购量</th>
                </tr>
              </thead>
            <tbody>
                {% for item in goods_list %}
              <tr class="table-info">
                <td>{{item.goods_name}}</td>
                <td>{{item.goods.goods_id}}</td>
                <td>{{item.stock_num_system}}</td>
                <td>{{item.predict_num}}</td>
                <td>{{item.kucun_num}}</td>
                <td>{{item.caigou_num}}</td>
              </tr>
                {% endfor %}
            </tbody>
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </div>

</body>
</html>